Allow booting in DSi direct mode without BIOS/firmware/NAND dumps.#2523
Merged
Arisotura merged 5 commits intomelonDS-emu:masterfrom Feb 11, 2026
Merged
Allow booting in DSi direct mode without BIOS/firmware/NAND dumps.#2523Arisotura merged 5 commits intomelonDS-emu:masterfrom
Arisotura merged 5 commits intomelonDS-emu:masterfrom
Conversation
4425cc3 to
a40c9b8
Compare
Contributor
|
I have tested this pr and most DS games work in DSi mode without BIOS/firmware/NAND dumps. Games that do not boot:
|
Contributor
Author
|
Yeah, so there's no regression. Of course, the BIOS needs work before it can run non-homebrew DSi programs. |
Member
|
looks good to me, just gotta fix that one conflict that popped up... |
This is an initial patch which enables booting programs in DSi direct mode without requiring BIOS/firmware/NAND dumps from increasingly expensive consoles: - The open DSi BIOS is derived from a modified build of FreeBIOS; minor patches have been done (such as moving SWI 0x12 to 0x02), but no new SWI functions have been implemented. - The DSi firmware stub is generated in the same way as the NDS firmware stub; this appears to be good enough for BlocksDS's dswifi to pick up the new AP definitions. - The DSi NAND is currently not stubbed at all; rather, the code has been edited to allow bringup without a NAND image. This is sufficient for DSi mode homebrew; programs running from the cartridge slot are likewise not expected to require NAND access. More work has to be done before it's useful for non-homebrew scenarios.
…t for Chinese language option
9582090 to
3d743ae
Compare
Contributor
Author
|
Done. |
Member
|
okie dokie |
maximxlss
pushed a commit
to maximxlss/melonDS-headless
that referenced
this pull request
Feb 14, 2026
…elonDS-emu#2523) * Allow booting in DSi direct mode without BIOS/firmware/NAND dumps. This is an initial patch which enables booting programs in DSi direct mode without requiring BIOS/firmware/NAND dumps from increasingly expensive consoles: - The open DSi BIOS is derived from a modified build of FreeBIOS; minor patches have been done (such as moving SWI 0x12 to 0x02), but no new SWI functions have been implemented. - The DSi firmware stub is generated in the same way as the NDS firmware stub; this appears to be good enough for BlocksDS's dswifi to pick up the new AP definitions. - The DSi NAND is currently not stubbed at all; rather, the code has been edited to allow bringup without a NAND image. This is sufficient for DSi mode homebrew; programs running from the cartridge slot are likewise not expected to require NAND access. More work has to be done before it's useful for non-homebrew scenarios. * Implement a less stub DSi::NeedsDirectBoot() * Do not block direct boots if DSi NAND is missing but BIOS/firmware is present * Correctly initialize extended header for DSi generated firmware * Fix overriding firmware language in DSi mode, add experimental support for Chinese language option
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an initial patch which enables booting programs in DSi direct mode without requiring BIOS/firmware/NAND dumps from increasingly expensive consoles:
More work has to be done before it's useful for non-homebrew scenarios.